let configURL = 'https://star.googom.cn/';
let imgUrl = 'https://star.googom.cn/image/'
//本地开发
if (process.env.NODE_ENV === 'development') {
	configURL,
	imgUrl
} else {
	//生产环境
	configURL,
	imgUrl

}
export default {
	configURL, 
	imgUrl,
	/***************缓存数据的KEY*********************/
	USER: process.env.NODE_ENV === 'development' ? 'dev_user' : 'user', //用户缓存信息
	ROLE: process.env.NODE_ENV === 'development' ? 'dev_roles' : 'roles', //用户缓存信息
	TOKEN: process.env.NODE_ENV === 'development' ? 'dev_token' : 'token',
	TOKENEXPIRES: process.env.NODE_ENV === 'development' ? 'dev_tokenExpires' : 'tokenExpires',
	LOGINTIME: process.env.NODE_ENV === 'development' ? 'dev_loginTime' : 'loginTime',
	HASLOGIN: process.env.NODE_ENV === 'development' ? 'dev_hasLogin' : 'hasLogin',
	/**
	 * 上传路径 目前应该是这个地址
	 */
	UPLOADURL: 'http://150.139.212.142:18087/group1/upload',
	/******************白名单**********************/
	WHITELIST: ['/captchaImage', '/login'],
};